package com.dmx.platform.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TOrder entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "t_image")
public class TImage implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer ownerId;
	private String description;
	private Integer icon;
	private String url;

	// Constructors

	/** default constructor */
	public TImage() {
	}


	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "owner_id")
	public Integer getOwnerId() {
		return ownerId;
	}


	public void setOwnerId(Integer ownerId) {
		this.ownerId = ownerId;
	}

	@Column(name = "description")
	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "icon")
	public Integer getIcon() {
		return icon;
	}


	public void setIcon(Integer icon) {
		this.icon = icon;
	}

	@Column(name = "url")
	public String getUrl() {
		return url;
	}


	public void setUrl(String url) {
		this.url = url;
	}





}